/*
 * Direction.cpp
 *
 *  Created on: Jul 5, 2009
 *      Author: mlrus
 */

#include "Axis.h"
#include "ExpansionOP.h"
#include "Board.h"

int x[1] = { 0 };
Axis::Axis ExpansionOP::getAxis() {
	return Axis::INVALID;
}
Axis::Axis ExpansionOP::getDual() {
	return Axis::INVALID;
}
const int *ExpansionOP::getExtensionDirections() {
	return x;
}

const int HorizontalExpander::dirs[2] = { -1, 1 };
const int HorizontalExpander::numExtensions = 2;
const Axis::Axis HorizontalExpander::axis = Axis::HORIZONTAL;
const Axis::Axis HorizontalExpander::dual = Axis::VERTICAL;

const int VerticalExpander::dirs[2] = { -Common::boardSize, Common::boardSize };
const int VerticalExpander::numExtensions = 2;
const Axis::Axis VerticalExpander::axis = Axis::VERTICAL;
const Axis::Axis VerticalExpander::dual = Axis::HORIZONTAL;

